#include "queue.h"

void test1()
{
	bit::queue<int> q;
	q.push(1);
	q.push(2);
	q.push(3);
	q.push(4); 

	cout << "st.back():" << q.back() << endl;
	cout << "st.front():" << q.front() << endl;
	cout << "st.size():" << q.size() << endl;
	cout << "st.empty():" << q.empty() << endl;

	while (!q.empty())
	{
		cout << q.front() << " ";
		q.pop();
	}
	cout << endl;
}

int main()
{
	test1();
	return 0;
}